.choose-redpakcet {
  float: left;
  width: 45%;

  > div {
    margin-bottom: 10px;
  }
}

.redpacket-info {
  margin-left: 45%;
  color: #666666;

  .choosen-list {
    margin-top: 10px;

    li {
      position: relative;
      padding: 6px;
      margin-bottom: 10px;
      background: #efefef;
      border: 1px solid #dadadd;
      border-radius: 5px;

      .catpacket-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
          color: #ffffff;
        }
      }

      .redpacket-remove {
        cursor: pointer;

        &:hover {
          color: red;
        }
      }
    }
  }
}

.mar-left-20 {
  margin-left: 20px;
}

/* desktop page */

.item-block {
  float: left;
  width: 80%;
  min-width: 187px;
  height: 166px;
  padding: 5% 0 0 10%;
  margin-top: 30px;
  border: 1px solid #f4f4f4;
  box-shadow: 1px 1px 2px #cccccc;
}

.item-info-default {
  padding-left: 15%;

  dl {
    margin-bottom: 30px;
    clear: both;
  }

  dt {
    float: left;
    margin: 5% 5% 0 0;
    font-size: 18px;
    color: #7999d9;
    text-align: center;

    &.dd-none {
      float: none;
      width: 58px;
      padding-right: 23%;
      margin: 0 auto;
    }

    span {
      display: block;
      width: 58px;
    }

    i {
      display: block;
      width: 58px;
      height: 58px;
      margin-bottom: 5px;
      background: url(images/shop_index_split.png) no-repeat 0 0;
    }
  }

  dd {
    height: 40px;
    padding-left: 40px;
    font-size: 14px;
    line-height: 40px;

    &.dd-one {
      height: 70px;
      line-height: 70px;
    }

    em {
      margin-left: 12px;
      font-size: 22px;
      color: #7999d9;
    }
  }
}

.btn-default {
  text-align: center;

  .btn {
    position: relative;
    width: 30%;
    min-width: 80px;
    height: 34px;
    margin-right: 5%;
    overflow: visible\9;
    box-shadow: none;

    em {
      position: absolute;
      top: -12px;
      right: -12px;
      z-index: 2;
      width: 24px;
      height: 24px;
      font-size: 14px;
      line-height: 24px;
      color: #ffffff;
      text-align: center;
      background: url(../images/bgc_info.png) no-repeat center;

      &.has-info {
        background: url(../images/has_info.png) no-repeat center;
      }
    }
  }
}

em {
  font-style: normal;
}

.item-user dt i {
  background-position: -59px 0;
}

.item-shop dt i {
  background-position: -118px 0;
}

.item-marketing dt i {
  background-position: -177px 0;
}

.item-site dt i {
  background-position: -236px 0;
}

.item-report dt i {
  background-position: -295px 0;
}

.widgets .desktop-widgets {
  width: 30%;
  min-width: 167px;
  margin-right: 30px;
}

.desktop-widgets .dashbd-list {
  padding: 0 0 30px 5%;
}

.tableform {
  .dashbd-head {
    height: 0;
    background-position: 0 -890px;
  }

  .dashbd-list {
    padding: 10px 20px;

    h5 {
      margin: 50px 0 20px 0;

      &.mt0 {
        margin-top: 0;
      }
    }
  }

  .list-content > div {
    margin-bottom: 12px;
  }

  .dt, .dd {
    overflow: hidden;
    // float: left;
    // display: inline-block;
    // width: 70%;
    word-break: break-all;
  }

  .dt {
    float: left;
    width: 140px;
    margin-right: 10px;
    text-align: right;
  }

  .dd {
    display: block;
    margin-left: 150px;
  }

  .no-border {
    border: 0;
  }
}

.carrousel {
  // position: absolute;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  margin: auto;
  background-color: rgba(10, 10, 10, 0.8);

  .wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: table;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    text-align: center;

    > {
      a {
        display: table-cell;
        height: 100%;
        vertical-align: middle;
      }

      img {
        vertical-align: middle;
      }
    }
  }
}

.close-img {
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 101;
  width: 25px;
  height: 25px;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  &:hover {
    font-size: 20px;
    line-height: 20px;
    color: #ffffff;
    background-color: #c81623;
  }
}

.inlineblock {
  display: inline-block;
}

.category-list {
  padding: 10px 0;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;

  &:last-child {
    margin-bottom: 0;
  }

  .second-category {
    width: 12%;
    margin-right: 10px;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
  }

  .third-category {
    width: 85%;
    padding-left: 10px;
    overflow: hidden;
    border-left: 1px solid #efefef;

    label {
      display: inline-block;
      margin: 0 5px 5px 5px;
      cursor: pointer;
    }
  }
}

/* 转盘抽奖弹框 */

.prize-select-box li {
  cursor: pointer;

  &.selected {
    color: #ffffff;
    background: #7a99d5;
  }
}

.lottery-box {
  .redpacket-name {
    display: inline-block;
    width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }

  .lotter-rule label {
    display: inline-block;
    width: 45px;
  }

  .image-input {
    width: 69px;
    margin: 5px 0 0 40px;

    .image-input-view {
      width: 45px;
      height: 45px;
      line-height: 50px;
    }

    .image-input-handle {
      height: 45px;
    }
  }

  .suggest-size {
    position: relative;
    top: 40px;
    left: -125px;
  }
}

.text-tooltip::after {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  font-size: 12px;
  line-height: 16px;
  color: white;
  text-align: center;
  cursor: pointer;
  content: "?";
  background: #00c0ef;
  border-radius: 50%;
}

/* 刮刮卡样式 */

.scratchcard-bg-img {
  height: 100%;

  .wraper {
    position: relative;
    width: 190px;
    height: 120px;
    padding: 15px 10px;
    margin: 0 auto;
    text-align: center;
    background: url("../../images/scratchcard_bd.png") no-repeat;
    background-size: 100% 100%;
    transform: translateY(110%);
  }

  .box {
    position: relative;
    height: 50%;
    margin-bottom: 0.9rem;
    background-color: #ffecc8;
  }

  .wraper p {
    height: 25px;
    margin: 0;
    text-align: center;
  }

  .canvas-bg {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #ffecc8;
  }
}

.scratchcard-box .scratchcard-count {
  padding: 0.4rem 1.2rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 30px;
}

.rule-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border: 1px solid red;
  border-radius: 50%;
}

.agreement {
  padding-right: 40px;
  padding-left: 40px;

  h3 {
    margin: 20px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
  }

  p {
    line-height: 1.8;
    color: #666666;
  }
}
